package com.modules.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.response.ResponseVO;
import com.common.utils.R;
import com.modules.user.entity.UserEntity;

import java.util.Map;

public interface IUserService extends IService<UserEntity> {

    R doLogin(UserEntity userEntity);

    R loginOut(UserEntity userEntity);

    R modifyPass(Map<String, Object> params);

    R getPageList(Map<String, Object> params);

    R getAgentPageList(Map<String, Object> params);

    UserEntity getUserByLoginName(String username);

    UserEntity getUserByLoginToken(String token);
}
